package com.restaurant.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.restaurant.entity.Menu;
import com.restaurant.mapper.DeptMapper;
import com.restaurant.mapper.MenuMapper;
import com.restaurant.service.MenuService;
@Service("menuService")
public class MenuServiceImpl implements MenuService {
	@Autowired
	private MenuMapper menuMapper;
	

	public MenuMapper getMenuMapper() {
		return menuMapper;
	}

	public void setMenuMapper(MenuMapper menuMapper) {
		this.menuMapper = menuMapper;
	}




	@Override
	public List<Menu> selectAll() {
		return menuMapper.selectAll();
	}


	
	
}
